package com.hsmw.schedule.utils;

import com.hsmw.domain.HsmwRecentConcrete;

import java.text.Collator;
import java.util.Comparator;

public class CompareStringUtils implements java.util.Comparator<HsmwRecentConcrete> {
    @Override
    public int compare(HsmwRecentConcrete o1, HsmwRecentConcrete o2) {
        Comparator<Object> compare = Collator.getInstance(java.util.Locale.CHINA);
        return compare.compare(o1.getConcreteNum(), o1.getConcreteNum());

    }
}
